{include file="header.html"}
<div id="rightTop">
    <p>{$lang.eggpresentrec}</p>
    <ul class="subnav">
        <li><!--{if $wait_verify}--><a class="btn1" href="index.php?app=eggpresentrec">{$lang.manage}</a><!--{else}--><span>{$lang.manage}</span><!--{/if}--></li>
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="eggpresentrec" />
                <input type="hidden" name="act" value="index" />
                <input type="hidden" name="wait_verify" value="{$wait_verify}">
                {$lang.username}:
                <input class="queryInput" type="text" name="username" value="{$query.username|escape}" />
                {$lang.eggname}:
                <input class="queryInput" type="text" name="eggname" value="{$query.eggname|escape}" />
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=eggpresentrec&wait_verify={$wait_verify}">{$lang.cancel_query}</a>
            <!--{/if}-->
            <span>
            </span></form>
    </div>
    <div class="fontr">
        {if $eggpresentrecs}{include file=page.top.html}{/if}
    </div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $eggpresentrecs}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td align="left">{$lang.username}</td>
            <td align="left">{$lang.presentname}</td>
            <td align="left">{$lang.eggname}</td>
            <td align="left">{$lang.add_time}</td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$eggpresentrecs item=eggpresentrec}-->
        <tr class="tatr2">
            <td class="firstCell"><input value="{$eggpresentrec.id}" class='checkitem' type="checkbox" /></td>

            <td align="left">{$eggpresentrec.username|escape} | {$eggpresentrec.real_name|escape}</td>

            <td align="left">{$eggpresentrec.presentname|escape}</td>

            <td align="left">{$eggpresentrec.eggname|escape}</td>

            <td align="left">{$eggpresentrec.add_time|date}</td>

            <td class="handler">
                <a style="display:none" href="index.php?app=eggpresentrec&amp;act=edit&amp;id={$eggpresentrec.id}">{$lang.edit}</a>  |  <a name="drop" href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=eggpresentrec&amp;act=drop&amp;id={$eggpresentrec.id}');">{$lang.drop}</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="5">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $eggpresentrecs}-->
    <div id="dataFuncs">
        <div id="batchAction"  class="left paddingT15">
            &nbsp;&nbsp;
            <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=eggpresentrec&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
            &nbsp;&nbsp;
            <!-- <input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
        </div>
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
        <div class="clear"></div>
    </div>
    <!--{/if}-->
</div>
{include file="footer.html"}
